const mongoose = require('mongoose');
var mongoosePaginate = require('mongoose-paginate');
var schema_news      = new mongoose.Schema( { articleTitle:String,articleImg:String,isShow:Number,articleContent:String,articleKey:String,createTime:Date,articleComments:String});
schema_news.plugin(mongoosePaginate);
const News           = mongoose.model('News',schema_news,'news');
      module.exports = News;